package com.lsk.admin;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.lsk.util.Syslog;

/**
 * Created by Administrator on 2018/10/11 0011.
 */
public class LoginLogs implements Runnable{

    private Record record;
    LoginLogs(Record record){
        this.record=record;
    }
    @Override
    public void run() {
       try {
           Db.save("sys_login_log","id",this.record);
       }catch (Exception e){
           Syslog.error(e);
       }
    }
}
